package exercise;

public class Q40_Poet {

	private String mno;
	private String title;
	private String writer;
	
	public Q40_Poet() {
		mno ="";
		title = "";
		writer = "";
	}
	public Q40_Poet(String mno,String title,String writer) {
		this.mno = mno;
		this.title = title;
		this.writer = writer;
	}
	
	public void setMno(String mno){
		this.mno = mno;
	}
	public void setTitle(String title){
		this.title = title;	
	}	
	public void setWriter(String writer){
		this.writer = writer;	
	}	
	public String getMno(){
		return mno;
	}
	public String getTitle(){
		return title;
	}
	public String getWriter(){
		return writer;
	}
	public static int getLastFees(int days){
		return days*400;
	}

}
